#include <iostream>
#include <memory>
#include "shared_ptr.h"

int main(){
    std::shared_ptr<int> sp = std::make_shared<int>(42);
    std::shared_ptr<int> sp1 = sp;
    std::cout<< *sp << std::endl;
    std::cout<< *sp1 << std::endl;



    shared_ptr<int> _sp1(new int(11));
    shared_ptr<int> _sp2 = _sp1;
    std::cout<< _sp1.Count() << std::endl;
    std::cout<< _sp2.Count() << std::endl;
   

}
